package com.foreknow.demo11;

/**
 *企鹅
 */
public class Penguin extends Pet {

    @Override
    public void toHospital() {
        this.setHealth(70);
        System.out.println("医疗......打针");
    }
    public void swimming(){
        System.out.println("游泳.....");
    }
}
